package ink.tiptop.string;

/**
 * @author ink.tiptop.zjf
 * @Title: Ticket
 * @Package ink.tiptop.string
 * @Description:
 * @date 2020-06-22 16:13
 */
public class StringSeprate {
    public static void main(String[] args) {

        String[] split = data.split("\n");
        for (int i = 0; i < split.length; i++) {
            if (i % 9 == 0) {
                System.out.println("");
            }
            System.out.print(split[i] + "\t");
        }
    }

    private static final String data =
            "21\n" +
            "87\n" +
            "线路替换值\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "不记名\n" +
            "不允许\n" +
            "2153\n" +
            "22\n" +
            "88\n" +
            "公交云卡\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "记名\n" +
            "允许\n" +
            "2153\n" +
            "23\n" +
            "89\n" +
            "云卡\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "不记名\n" +
            "不允许\n" +
            "2153\n" +
            "24\n" +
            "90\n" +
            "农商行\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "记名\n" +
            "允许\n" +
            "2153\n" +
            "25\n" +
            "91\n" +
            "支付宝\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "记名\n" +
            "允许\n" +
            "2153\n" +
            "26\n" +
            "97 \n" +
            "上海M1\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "记名\n" +
            "允许\n" +
            "2153\n" +
            "27\n" +
            "98\n" +
            "无锡M1\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "记名\n" +
            "允许\n" +
            "2153\n" +
            "28\n" +
            "其它卡\n" +
            "不能透支\n" +
            "鸣叫一声\n" +
            "出租\n" +
            "不记名\n" +
            "不允许\n" +
            "2153\n";
}
